package com.woniu.cms.goods.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 材料字典表，内涵所有材料，所有组织机构共享
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-17
 */
@Getter
@Setter
  @TableName("cms_goods_dictionary")
@ApiModel(value = "GoodsDictionary对象", description = "材料字典表，内涵所有材料，所有组织机构共享")
public class GoodsDictionary implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("物资类型（外键）")
      private Integer typeId;

      @ApiModelProperty("物资编码（唯一编码）")
      private String goodsCode;

      @ApiModelProperty("物资名称")
      private String goodsName;

      @ApiModelProperty("规格型号")
      private String modelName;

      @ApiModelProperty("计量单位")
      private String unit;

      @ApiModelProperty("备注")
      private String remarks;

      @ApiModelProperty("0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
      private Integer status;
}
